package com.jingdianjichi.auth.domain.service;


import cn.dev33.satoken.stp.SaTokenInfo;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;

/**
 * ClassName:SubjectCategoryDomainService
 * Package:IntelliJ IDEA
 * Description: 用户service
 *
 * @Author xiaoming
 * @Create 2025/2/16 14:14
 * @Version 1.0
 */
public interface AuthUserDomainService {
    /**
     * 用户注册
     *
     * @param authUserBO
     */
    Boolean register(AuthUserBO authUserBO);

    /**
     * 更新用户信息
     *
     * @param authUserBO
     * @return
     */
    Boolean update(AuthUserBO authUserBO);

    /**
     * 删除用户信息
     *
     * @param authUserBO
     * @return
     */
    Boolean delete(AuthUserBO authUserBO);

    /**
     * 用户登录
     * @param validCode
     * @return
     */
    SaTokenInfo doLogin(String validCode);

    /***
     * 用户数据回显
     * @param authUserBO
     * @return
     */
    AuthUserBO getUserInfo(AuthUserBO authUserBO);
}
